package com.dyw.springboot07mybatisdruid.mapper;

import com.dyw.springboot07mybatisdruid.entity.People;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Devil
 * @create 2022-01-23-19:52
 */
@Mapper
public interface PeopleMapper {
    @Select("select pid,people_name from people order by pid")
    List<People> selectAll();
}
